/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tareasClase;

public class Main1 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {


        String s = "555";

       int i= Integer.parseInt(s);
          System.out.println( " -----int----"+i );

        Double d = new Double (i);
        System.out.println("--Double-----"+d);

     Byte b= new Byte (d.byteValue());
      System.out.println("--byte----"+b);

       Float f = new Float(b.floatValue());
        System.out.println("---Float--------"+f);

      Integer in = new Integer(f.intValue());
       System.out.println("---Int----"+in);

      Short sh= new Short (in.shortValue());
       System.out.println("---short----"+sh);

      Long l= new Long(sh.longValue());
       System.out.println("---long---"+l);

      String STR = l.toString();

      Boolean bol = Boolean.valueOf(STR);
       System.out.println("---boolean----"+bol);
 }
}
